<?php
/**
 * 2021/8/16 16:16
 */


class AppIndexS
{
    use Singleton;

    //demo
    public function index(Req $req)
    {
        $page   = $req->param("page",1);
        $limit  = $req->param("limit",10);
        $where = ['status'=>1];
        return \cache\AppIndexCache::getInstance()->index($where,$page,$limit);
    }
}